package com.tanhua.admin.service;

import com.tanhua.model.dto.UserFreeze;
import com.tanhua.model.domain.UserInfo;
import com.tanhua.model.vo.PageResult;

import java.util.Map;

public interface ManagerService {

    //查询后台所有用户信息
    PageResult findAllUsers(Integer page, Integer pagesize);

    //查询单个id的详细信息
    UserInfo findById(Long id);

    //根据用户id查看当前用户的视频
    PageResult findVideos(Integer page, Integer pagesize, Long uid);

    //根据id,状态,查询个人动态列表
    PageResult findAllMovements(Integer page, Integer pagesize, Long uid, Integer state);

    //冻结用户
    Map userFreeze(UserFreeze userFreeze);

    //解冻用户
    Map userUnfreeze(UserFreeze freeze);
}
